# @Version  : 1.0
# @Author   : wgq
# @File     : test01.py
# @Date     : 2025/5/31 16:48
# print(ord('a'))
# print(ord('王'))
# print(ord('光'))
# print(ord('齐'))
# str = 'hi-韩顺平教育'
# index = -1
# while index < len(str):
#     print(str[index])
#     index += 1
# print('='*30)
# for ele in str:
#     print(ele)
# str[3] = '李'
# while index >= -len(str):
#     print(str[index])
#     index -= 1

# str = 'hellp pythonhe'
# str_ = str.replace('he','hi')
# print(str_)
# str_name = 'tom mary nono jack milan kangkang tom'
# list_name = str_name.split(' ')
# print(list_name)
# print(str_name.count('tom'))
# print(str_name.index('to'))
# str_email = '      sea1415926@163.   '
# print(str_email.strip(' '))
# print(str_email.upper().lower())
# list_name = ['tom', 'mary', 'nono', 'jack', 'milan', 'kangkang', 'tom']
# # list_ = list_name[:len(list_name)]
# list_ = list_name[-2::-1]
# print(list_)
list_name = ['Jack','Lisa','Hsp','Paul','Smith','Kobe']
print(list_name[:3])
# lst = list_name[:-4:-1]
# lst.reverse()
# print(lst)


